//
//  XYMainNavController.swift
//  XYLive
//
//  Created by 赵正华 on 2017/4/17.
//  Copyright © 2017年 Z了个H. All rights reserved.
//

import UIKit

class XYMainNavController: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()
        setAppearanceStyle()
        
    }
    
    fileprivate func setAppearanceStyle(){
    
        UINavigationBar.appearance().tintColor = UIColor(hex: "0x333333")
        let attributes = [
        
            NSForegroundColorAttributeName:UIColor(hex: "0x333333"),
            NSFontAttributeName : UIFont.systemFont(ofSize: 18)
        ]
        UINavigationBar.appearance().titleTextAttributes = attributes as Any as? [String : Any]
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        
    }

}
